
#ifndef _CentralWidgetOperation_H_
#define _CentralWidgetOperation_H_

#include "OperationsApi.hpp"
#include "../OLCore/AbstractOperation.hpp"
#include "../OLApp/OperationsManager.hpp" 
#include "../OLWidgets/CentralWidget.hpp"


#include <QTreeWidgetItem>


namespace NSOperation {

	class OPERATIONSAPI CentralWidgetOperation :
		public NSCore::AbstractOperation
	{
		Q_OBJECT
	public:
		CentralWidgetOperation();
		~CentralWidgetOperation();

	public:
		virtual inline QString className() override { return "CentralWidgetOperation"; };

	public slots:
		void actionPerspectiveChangedSlot(bool off);
		void actionViewDirectionChangedSlot(int index);
		void actionRenderObjectDisplaySlot(QAction* action);
		void actionViewAdaptSlot();
		void actionViewMagnifySlot();
		void actionViewShrinkSlot();

	};

	DynamicOperationRegister(CentralWidget, CentralWidgetOperation);

}

#endif


